package com.yourgroup.common.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LogDemo {
    private static final Logger logger = LoggerFactory.getLogger(LogDemo.class);

    public void testLog() {
        logger.debug("调试信息");
        logger.info("业务日志：用户操作成功");
        logger.warn("警告：参数缺失");
        logger.error("错误：数据库连接失败");
    }
}
